<template>
    <div>
        <we-nav-bar></we-nav-bar>
        <van-cell v-for="(item,index) in riqilist_val" @click="tiao_click(riqilist_val[index].children)" :key="index" :title="index" :value="riqilist_val[index].total+'元'"  size="large"  />
    </div>
</template>

<script>
    export default {
        name: "riqingxiang",
        data(){
            return{
                riqilist_val:{}
            }
        },
        created() {

          let can=this.$route.query
            this.http.post("/app/wechat/Wujiacha/chongzhi/mid/2",{SubHospitalID:can.SubHospitalID,SickID:can.SickID,RecDate:can.RecDate}).then(({data})=>{
                if (data.error==0){
                    this.riqilist_val=data.info
                    console.log(this.riqilist_val)
                }
            })
        },
        methods:{
              tiao_click(item) {
               
                this.$router.push({name:"riqingxiangs",query:{item:item}})
                
        }
        }
      
    }
</script>

<style scoped>

</style>
